package com.example.jsondemo.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.io.Serializable;

/**
 * @author Keson
 * @version 1.0
 * @description: TODO 权限控制实体
 * @date 2021/9/15 11:12
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RuleDefinition implements Serializable {

    @Id
    private Integer ruleId;
    private String roleId;
    private String resourceId;
    private String resourceContext;
    private String action;


}
